package com.it.file;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.Iterator;

public class Test {
    public static void main(String[] args) {
        ArrayList<String> list = new ArrayList<String>();
        list.add("a");
        list.add("b");
        list.add("c");

        /*Iterator<String> it = list.iterator();
        while (it.hasNext()) {
            System.out.println(it.next());
        }*/
      /*  for(String s : list){
            s = "55";
            System.out.println();
        }*/
        int[] arr = {1,2,3,4,5,8,9};
        System.out.println(Arrays.toString(arr));
    }
}
